package com.example.demo.staticproxy;

public class Test {
    public static void main(String[] args) {
        BuyHouse buyHouse = new BuyImpl();
        buyHouse.buyHouse();
        BuyHouseProxy buyHouseProxy = new BuyHouseProxy(buyHouse);
        buyHouseProxy.buyHouse();
    }
}
